<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            控制台
            <small>控制面板</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li class="active">活动管理</li>
            <li class="active">添加活动</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">添加活动</h3>
                <a href="{:url('/admin/activity/index/aid/1')}"  class="btn btn-info pull-right ">返回列表</a>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form role="form" method="post" action="" enctype="multipart/form-data">
                <div class="box-body">
                    <div class="form-group">
                        <label for="inputText1">活动主题</label>
                        <input type="text" class="form-control" id="inputText1" name="title">
                    </div>
                    <div class="form-group">
                        <label for="inputText2">活动简介</label>
                        <textarea name="intro" id="inputText2" class="form-control"  cols="30" rows="6 "></textarea>
                    </div>
                    <div class="form-group">
                        <input type="file" name="image">
                    </div>
                    <div class="form-group">
                        <!-- 加载编辑器的容器 -->
                        <script id="container" name="details" type="text/plain" style="width:1240px;height:300px;"></script>
                        <!-- 配置文件 -->
                        <script type="text/javascript"
                        src="__UEDITOR__ueditor.config.js"></script>
                        <!-- 编辑器源码文件 -->
                        <script type="text/javascript" src="__UEDITOR__ueditor.all.js"></script>
                        <!-- 实例化编辑器 -->
                        <script type="text/javascript">
                            var ue = UE.getEditor('container',{
                                toolbars: [
                                    ['fullscreen', 'source', 'undo', 'redo'],
                                    ['bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc']
                                ]
                            });
                        </script>
                    </div>
                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <button type="submit" class="btn btn-primary pull-right">保 存</button>
                </div>
            </form>
        </div>
    </section>
    <!-- /.content -->
</div>